<!DOCTYPE html>
<html lang="ja">
<head>
<meta name="generator" content="HTML Tidy for Linux (vers 25 March 2009), see www.w3.org">
<meta name="keywords" content="URL ENCODE,URL DECODE,URLエンコード,URLデコード,URL ENCODER, URL DECODER,エンコ,デコード,パーセントエンコード">
<meta name="description" content="URL ENCODE | DECODE NOW">
<meta name="author" content="k.kodama">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>URL Encode|Decode now.</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" media="screen, projection">
<link href="css/bootstrap-responsive.css" rel="stylesheet" type="text/css">
<link href="css/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="http://code.jquery.com/jquery.js">
</script>
<script type="text/javascript" src="/js/bootstrap.min.js">
</script><!--        <script type="text/javascript" src="/js/url_encoder.js" ></script> -->

<style type="text/css">
            .my_adslot { width: 320px; height: 50px; }
            @media(min-width: 500px) { .my_adslot { width: 468px; height: 60px; } }
            @media(min-width: 800px) { .my_adslot { width: 728px; height: 90px; } }
</style>

<script type="text/javascript">

var UrlEncoder = {};
var objectNameTo = "to_result";
var objectNameFrom = "to_convert";
UrlEncoder.encode_uri=function (argString) {

    if ((argString === null) || (argString === "")) {
        return "";
    }
    return encodeURI(argString);
};
UrlEncoder.decode_uri = function (argString) {
    if ((argString === null) || (argString === "")) {
        alert("nothing to convert text");
        return "";
    }
    return decodeURI(argString); 
};
UrlEncoder.showResult =function (argString,objectNameTo) {
    document.getElementById("to_result").innerHTML = "";
    document.getElementById("to_result").innerHTML = argString;
};
UrlEncoder.mEncodeUri= function  (argString) {
    var result = encodeURI(argString);
    UrlEncoder.showResult(result,objectNameTo);
};
 UrlEncoder.sDecodeUri=function(argString) {
    if ((argString === null) || (argString === "")) {
        alert("nothing to convert text");
        return "";
    }
    var result = UrlEncoder.decode_uri(argString);
    UrlEncoder.showResult(result,objectNameTo);
};
UrlEncoder.sreset=function  (objectNameTo) {
    document.getElementById(objectNameTo).innerHTML = "";
};
UrlEncoder.foo = function (){
        alert("foo");
}
</script>
<style type="text/css">
 ins.c1 {display:inline-block}
</style>
</head>
<body>
<div class="container">
<div id="top_ad"><script src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js" type="text/javascript">
</script> <ins class="adsbygoogle my_adslot c1"></ins> <script type="text/javascript">
            (adsbygoogle = window.adsbygoogle || []).push({});
</script></div>
<form id="form_to_encode" name="f1" action="./">
<fieldset><legend>URL Encode|Decode now.</legend>
<ul class="snsb">
<li><!--tuitter-->
<a href="https://twitter.com/share" class="twitter-share-button">ツイート</a> <script type="text/javascript">
!function(d, s, id) {
                                    var js, fjs = d.getElementsByTagName(s)[0], p = /^http:/.test(d.location) ? 'http' : 'https';
                                    if (!d.getElementById(id)) {
                                        js = d.createElement(s);
                                        js.id = id;
                                        js.src = p + '://platform.twitter.com/widgets.js';
                                        fjs.parentNode.insertBefore(js, fjs);
                                    }
                                }(document, 'script', 'twitter-wjs');
</script></li>
<li><!--fb-->
<div id="fb-root"></div>
<script type="text/javascript">
(function(d, s, id) {
                                    var js, fjs = d.getElementsByTagName(s)[0];
                                    if (d.getElementById(id))
                                        return;
                                    js = d.createElement(s);
                                    js.id = id;
                                    js.src = "//connect.facebook.net/ja_JP/all.js#xfbml=1&appId=156642911121470";
                                    fjs.parentNode.insertBefore(js, fjs);
                                }(document, 'script', 'facebook-jssdk'));
</script>
<div class="fb-like"></div>
</li>
<li><!--google plus-->
<!-- Place this tag where you want the +1 button to render. -->
<div class="g-plusone"></div>
<!-- Place this tag after the last +1 button tag. -->
<script type="text/javascript">
                                window.___gcfg = {lang: 'en-GB'};

                                (function() {
                                    var po = document.createElement('script');
                                    po.type = 'text/javascript';
                                    po.async = true;
                                    po.src = 'https://apis.google.com/js/plusone.js';
                                    var s = document.getElementsByTagName('script')[0];
                                    s.parentNode.insertBefore(po, s);
                                })();
</script></li>
</ul>
<div class="control-group controls"><label class="control-label" for="to_convert">TEXT:<br>
<textarea id="to_convert" cols="30">
日本語
</textarea></label></div>
<div class="control-group controls"><label class="control-label" for="to_result">RESULT:<br>
<textarea id="to_result" cols="30">
%E6%97%A5%E6%9C%AC%E8%AA%9E
</textarea></label></div>
<div id="buttons" class="btn-toolbar btn-group">　
<div onclick="UrlEncoder.mEncodeUri(document.getElementById('to_convert').value);"><input id="encode" type="button" class="btn btn-large btn-primary" value="Encode"></div>
　
<div onclick="UrlEncoder.sDecodeUri(document.getElementById('to_convert').value);"><input type="button" class="btn btn-large btn-primary" value="Decode"></div>
　
<div onclick="UrlEncoder.ssreset('to_result');"><input type="button" class="btn btn-large btn-primary" value="reset"></div>
</div>
</fieldset>
</form>
<p>Copyright © 2013 k.kodama All rights reserved.</p>
</div>
<script type="text/javascript">
                                (function(i, s, o, g, r, a, m) {
                                    i['GoogleAnalyticsObject'] = r;
                                    i[r] = i[r] || function() {
                                        (i[r].q = i[r].q || []).push(arguments)
                                    }, i[r].l = 1 * new Date();
                                    a = s.createElement(o),
                                            m = s.getElementsByTagName(o)[0];
                                    a.async = 1;
                                    a.src = g;
                                    m.parentNode.insertBefore(a, m)
                                })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');

                                ga('create', 'UA-39556601-2', 'hyperstylelab.com');
                                ga('send', 'pageview');

</script>
</body>
</html>